package code.c06;

/**
 * @author thinkpad - 83start
 * @version v1.0
 * @create 2022/10/6 12:05
 * @package code.c06
 * @description 文件说明
 */

public class RubberPencil  extends Pencil implements Eraser{
    public RubberPencil(String type) {
        super(type);
    }

    @Override
    public void eraser(String s) {
        System.out.println("用橡皮铅笔擦除：" + s);;
    }

    @Override
    public void write(String s) {
        System.out.println("用橡皮铅笔写：" + s);
    }
}
